# run CMakeLists.txt which under '_4_Temp_BuildWithLibs/src/lib/' and output .so or .a file at '/build/bin/libs/'
ADD_SUBDIRECTORY (lib libs)

# add the .h files which used in APP_CYL.
INCLUDE_DIRECTORIES (inc)
# output an executable application which named APP_CYL.
ADD_EXECUTABLE (APP_CYL main.cpp)

# you can also add libs(.a or .so ..) by using LINK_DIRECTORIES (/the path of libs which existed./)
# LINK libhellocpp.so File which created by CMakeLists.txt under '_4_Temp_BuildWithLibs/src/lib/' path.
# hellocpp was created by CMakeLists.txt under '_4_Temp_BuildWithLibs/src/lib/' path.
# TARGET_LINK_LIBRARIES (APP_CYL hellocpp)

# Also,you can use .a file,such as:
# hellocpp_static was created by CMakeLists.txt under '_4_Temp_BuildWithLibs/src/lib/' path.
TARGET_LINK_LIBRARIES (APP_CYL hellocpp_static)
